//
//  DDMyQuestionCollectionViewCell.h
//  dingdang
//
//  Created by Chen Jing on 15-7-23.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DDTypeDefine.h"

@class DDMyQuestionCollectionViewCell;
@protocol DDMyQuestionCollectionViewCellDelegate <NSObject>

-(void)pressBtn_answerCount:(DDMyQuestionCollectionViewCell *)cell;
-(void)pressBtn_updatePwd:(DDMyQuestionCollectionViewCell *)cell;
-(void)pressBtn_republish:(DDMyQuestionCollectionViewCell *)cell;
-(void)pressBtn_publishAnswer:(DDMyQuestionCollectionViewCell *)cell;
-(void)pressBtn_changeCourse:(DDMyQuestionCollectionViewCell *)cell;
@end


@interface DDMyQuestionCollectionViewCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UILabel *label_userName;
@property (weak, nonatomic) IBOutlet UILabel *label_advanceDate;
@property (weak, nonatomic) IBOutlet UILabel *label_body;
@property (weak, nonatomic) IBOutlet UILabel *label_answerNumber;
@property (weak, nonatomic) IBOutlet UILabel *label_passward;
@property (weak, nonatomic) IBOutlet UIView *contentOfRepublishView;
@property (weak, nonatomic) IBOutlet UIView *contentOfRepublishAndOtherView;
@property (weak, nonatomic) IBOutlet UIImageView *imageView_body;
@property(nonatomic,assign)DDType_Question_QuestionPublishType info_publishType;

@property (weak, nonatomic) IBOutlet UIView *contentOfReward;
@property (weak, nonatomic) IBOutlet UILabel *label_reward;
@property (weak, nonatomic) IBOutlet UILabel *label_course;

@property (weak, nonatomic) IBOutlet UIButton *btn_zifen;
@property (weak, nonatomic) IBOutlet UIImageView *imageView_course_bg;

@property(nonatomic,assign)id<DDMyQuestionCollectionViewCellDelegate> delegate;

@property (weak, nonatomic) IBOutlet UIButton *btn_updatePassword;
@property (weak, nonatomic) IBOutlet UIButton *btn_answerCount;
@property (weak, nonatomic) IBOutlet UIButton *btn_republish;

@property (weak, nonatomic) IBOutlet UIButton *btn_releaseAnswer;


-(void)fixCell;

@end
